package edu.usm.cs.roberge;

public class Student {

	int id;
	String name;
	Schedule schedule = new Schedule();
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public Schedule getSchedule() {
		return schedule;
	}
	
	public void enrollInCourse(Course course) {
		schedule.enroll(course);
	}
}
